Fix clipping issue with clip masks
authorAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 08:16:39 +0000 (10:16 +0200)
committerAlexander Larsson <alexl@redhat.com>
Tue, 25 Aug 2009 08:37:18 +0000 (10:37 +0200)
commitc0084e21422c28e1b1039e509622e2b354b857f4
tree45024127c0798796146eb662f973b2af77fe9267
parent0ad0646dafed805a1fb7d8bed37301c1248a7591
Fix clipping issue with clip masks

When the clip mask is completely inside the drawable clip region we
don't change the clip at all. However, we did set region_tag_applied,
so when the drawable clip was removed we removed the original clip mask.
This is no good, so we fix that by returning early in this case.

Fixes issue reported in bug #592752.
gdk/gdkgc.c